<h1>Carti autors List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Id autor</th>
      <th>Id carte</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($carti_autors as $carti_autor): ?>
    <tr>
      <td><a href="<?php echo url_for('carti_autor/show?id='.$carti_autor->getId()) ?>"><?php echo $carti_autor->getId() ?></a></td>
      <td><?php echo $carti_autor->getIdAutor() ?></td>
      <td><?php echo $carti_autor->getIdCarte() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('carti_autor/new') ?>">New</a>
